import schedule
import time

def job1():
    print("Job 1")

def job2():
    print("Job 2")

job1_id = schedule.every(5).seconds.do(job1)
job2_id = schedule.every(10).seconds.do(job2)

# time.sleep(15)
# schedule.cancel_job(job1_id)

while True:
    schedule.run_pending()
    time.sleep(1)